/* css/style.css – copy-paste this entire file (validated & error-free) */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

h1,
h2,
h3 {
  font-family: 'Dancing Script', cursive;
  color: #d4738a;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  padding: 1rem 0;
}

.logo img {
  height: 65px;
}

nav a {
  margin-left: 2.5rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #d4738a;
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-text h1 {
  font-size: 5.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero-text p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #d4738a;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #c04e70;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(212, 115, 138, 0.35);
}

/* Featured Gallery */
.featured {
  padding: 5rem 0;
  text-align: center;
  background: #fdf9f8;
}

.featured h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-gallery img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.grid-gallery img:hover {
  transform: scale(1.06);
}

/* Footer */
footer {
  background: #fdf3f5;
  padding: 4rem 0 2rem;
  color: #666;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  text-align: center;
}

footer a {
  color: #d4738a;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive – mobile first */
@media (max-width: 640px) {
  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  nav a {
    margin: 0 1rem;
    display: inline-block;
  }

  .hero {
    height: 70vh;
  }

  .hero-text h1 {
    font-size: 3.2rem;
  }

  .hero-text p {
    font-size: 1.3rem;
  }

  .featured h2 {
    font-size: 2.4rem;
  }
}

/* About the Baker Section */
.about-baker {
  padding: 4rem 0;
  background: #fdf9f8;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #d4738a;
}

.baker-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.baker-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.baker-photo img:hover {
  transform: scale(1.05);
}

.baker-bio {
  text-align: left;
}

.baker-bio h3 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #d4738a;
}

.baker-bio p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #555;
}

/* Responsive for mobile */
@media (max-width: 640px) {
  .baker-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .baker-bio {
    text-align: center;
  }
  
  .baker-photo img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

/* About the Baker Section */
.about-baker {
  padding: 4rem 0;
  background: #fdf9f8;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #d4738a;
}

.baker-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.baker-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.baker-photo img:hover {
  transform: scale(1.05);
}

.baker-bio {
  text-align: left;
}

.baker-bio h3 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #d4738a;
}

.baker-bio p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #555;
}

/* Responsive for mobile */
@media (max-width: 640px) {
  .baker-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .baker-bio {
    text-align: center;
  }
  
  .baker-photo img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}